/*
 * Copyright (c) 2023-2299 深圳市阿毛科技有限公司 All rights reserved.
 *
 * https://www.lamyz.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.lam.mall.app.vo;

import java.math.BigDecimal;
import java.util.List;

import lombok.Data;

/**
 * 多个店铺订单合并在一起的合并类
 * "/confirm" 使用
 */
@Data
public class ShopCartOrderMergerVo {

    //@Schema(description = "实际总值" , required = true)
    private BigDecimal actualTotal;

    //@Schema(description = "商品总值" , required = true)
    private BigDecimal total;

    //@Schema(description = "商品总数" , required = true)
    private Integer totalCount;

    //@Schema(description = "订单优惠金额(所有店铺优惠金额相加)" , required = true)
    private BigDecimal orderReduce;

    //@Schema(description = "地址Vo" , required = true)
    private UserAddrVo userAddr;

    //@Schema(description = "每个店铺的购物车信息" , required = true)
    private List<ShopCartOrderVo> shopCartOrders;

    //@Schema(description = "整个订单可以使用的优惠券列表" , required = true)
    private List<CouponOrderVo> coupons;
}
